package com.fqy.service;

import com.aliyuncs.exceptions.ClientException;
import com.fqy.util.CommonResult;

/**
 * @author 风清扬
 * @version 1.0
 * @date 2021/7/4 16:01
 */
public interface MemberService {

    /**
     * 获取验证码
     *
     * @param telephone
     * @return
     */
    CommonResult generateAuthCode(String telephone) throws ClientException;

    /**
     * 判断验证码是否正确
     *
     * @param telephone
     * @param authCode
     * @return
     */
    CommonResult verifyAuthCode(String telephone, String authCode);
}
